const area = {
  state: {
    areaName: "",
    areaId: "",
  },
  mutations: {
    setAreaName(state, areaName) {
      state.areaName = areaName;
    },
    setAreaId(state, areaId) {
      state.areaId = areaId;
    }
  },
  getters: {
    name: state => {
      return state.areaName
    },
    userId: state => {
      return state.areaId;
    }
  },
}

export default area;
